﻿<?php
	
	define("FOLDER_HOST", "/ntpsoft/");
	define("FOLDER_ADMIN", "/admin/");
	define("FOLDER_TEMPLATES", "view");
	define("FOLDER_TEMPLATES_C", "view_c");
	
	define("FROMMAIL", "ntpsoft.com");
	define("MAX_CATEGORY_LEVEL", 3);
	define("ATWEEN_HYPHEN","==");
	define("SIZETHUMB",100);
	//Maximum product to show when click on Category
	define("LIMIT_PARTNER", 3);
	define("MAX_DEMO_NEWS", 20);
	define("MAX_DEMO_PRODUCT", 20);
	define("PRODUCT_HOME", 6);
	define("MAX_DEMO_PRODUCT_ADMIN", 20);
	define("MAX_DEMO_NEWS_ADMIN", 20);
	define("MAX_DEMO_NEWS_HOME", 5);
	define("MAX_DEMO_PARTNER", 10);
	
	//must end with '/', if not some link may not work correctly
	define("UPLOAD_DIR_STORE", "upload/");
	define("UPLOAD_FILES", 'upload/files/');
	define("UPLOAD_DIR_LOGO", 'upload/logo/');
	define("UPLOAD_DOWNLOAD", 'upload/download/');
	define("UPLOAD_PRODUCT", 'upload/product/');
	define("UPLOAD_PRODUCT_THUMB", 'upload/product/thumb/');
	define("UPLOAD_NEWS", 'upload/news/');
	define("UPLOAD_NEWS_THUMB", 'upload/news/thumb/');
	define("UPLOAD_DIR", $app_dir . '/' . UPLOAD_DIR_STORE);
	define("UPLOAD_DIR_FILES", $app_dir . '/upload/files/');
	define("DEFAULT_LANG", "vi");
?>